package onlinejudge.vo;

import java.util.ArrayList;
import java.util.List;

public class CommentVo {
	
	private int commentId;
	private int userId;
	private String commentContent;
	private String commentDate;
	private String userName;
	private String userImg;
	private List<ReplyVo> replyList=new ArrayList<ReplyVo>();
	
	public CommentVo() {
		super();
	}
	public CommentVo(int commentId, int userId, String commentContent, String commentDate, String userName,
			String userImg, List<ReplyVo> replyList) {
		super();
		this.commentId = commentId;
		this.userId = userId;
		this.commentContent = commentContent;
		this.commentDate = commentDate;
		this.userName = userName;
		this.userImg = userImg;
		this.replyList = replyList;
	}
	
	public int getCommentId() {
		return commentId;
	}
	public void setCommentId(int commentId) {
		this.commentId = commentId;
	}
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public String getCommentContent() {
		return commentContent;
	}
	public void setCommentContent(String commentContent) {
		this.commentContent = commentContent;
	}
	public String getCommentDate() {
		return commentDate;
	}
	public void setCommentDate(String commentDate) {
		this.commentDate = commentDate;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getUserImg() {
		return userImg;
	}
	public void setUserImg(String userImg) {
		this.userImg = userImg;
	}
	public List<ReplyVo> getReplyList() {
		return replyList;
	}
	public void setReplyList(List<ReplyVo> replyList) {
		this.replyList = replyList;
	}
	
	@Override
	public String toString() {
		return "CommentVo [commentId=" + commentId + ", userId=" + userId + ", commentContent=" + commentContent
				+ ", commentDate=" + commentDate + ", userName=" + userName + ", userImg=" + userImg + ", replyList="
				+ replyList + "]";
	}
}
